<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: VectorOps&lt; T &gt;</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../dd/d5a/struct_vector_ops-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">VectorOps&lt; T &gt;</div></div>
</div><!--header-->
<div class="contents">

<p>关于数组的系列操作  
 <a href="../../dd/d9f/struct_vector_ops.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d1/dd6/_a_t_opts_8h_source.html">ATOpts.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a121d5b86a3dc02f0a391c0f451a26417"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#a121d5b86a3dc02f0a391c0f451a26417">Append</a> (xvector&lt; T &gt; *dest, T const *source, size_t count)</td></tr>
<tr class="memdesc:a121d5b86a3dc02f0a391c0f451a26417"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加元素  <a href="../../dd/d9f/struct_vector_ops.html#a121d5b86a3dc02f0a391c0f451a26417">更多...</a><br /></td></tr>
<tr class="separator:a121d5b86a3dc02f0a391c0f451a26417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a618b6184f136dad2843693e728deaf3e"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#a618b6184f136dad2843693e728deaf3e">Append</a> (xvector&lt; T &gt; *dest, xvector&lt; T &gt; const *source)</td></tr>
<tr class="memdesc:a618b6184f136dad2843693e728deaf3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加元素  <a href="../../dd/d9f/struct_vector_ops.html#a618b6184f136dad2843693e728deaf3e">更多...</a><br /></td></tr>
<tr class="separator:a618b6184f136dad2843693e728deaf3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfecd420721fcdb92b10f023ea7aea3a"><td class="memItemLeft" align="right" valign="top">static ATGEOSET_EXPORT size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#acfecd420721fcdb92b10f023ea7aea3a">Append</a> (xvector&lt; T &gt; *dest, T const &amp;data)</td></tr>
<tr class="memdesc:acfecd420721fcdb92b10f023ea7aea3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加元素  <a href="../../dd/d9f/struct_vector_ops.html#acfecd420721fcdb92b10f023ea7aea3a">更多...</a><br /></td></tr>
<tr class="separator:acfecd420721fcdb92b10f023ea7aea3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4298d4bc74636e1428e907d1ab187365"><td class="memItemLeft" align="right" valign="top">static bool ATGEOSET_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#a4298d4bc74636e1428e907d1ab187365">AlmostEqual</a> (T const &amp;valueA, T const &amp;valueB)</td></tr>
<tr class="memdesc:a4298d4bc74636e1428e907d1ab187365"><td class="mdescLeft">&#160;</td><td class="mdescRight">几乎相等  <a href="../../dd/d9f/struct_vector_ops.html#a4298d4bc74636e1428e907d1ab187365">更多...</a><br /></td></tr>
<tr class="separator:a4298d4bc74636e1428e907d1ab187365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999d2ec42ccc414526eee2ce6c6f40ce"><td class="memItemLeft" align="right" valign="top">static bool ATGEOSET_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#a999d2ec42ccc414526eee2ce6c6f40ce">AlmostEqual</a> (T const &amp;valueA, T const &amp;valueB, double tolerance)</td></tr>
<tr class="memdesc:a999d2ec42ccc414526eee2ce6c6f40ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">几乎相等  <a href="../../dd/d9f/struct_vector_ops.html#a999d2ec42ccc414526eee2ce6c6f40ce">更多...</a><br /></td></tr>
<tr class="separator:a999d2ec42ccc414526eee2ce6c6f40ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f623ac0721bf3eef723209a79904238"><td class="memItemLeft" align="right" valign="top">static bool ATGEOSET_EXPORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9f/struct_vector_ops.html#a4f623ac0721bf3eef723209a79904238">AlmostEqual</a> (T const *valueA, size_t numA, T const *valueB, size_t numB, double tolerance)</td></tr>
<tr class="memdesc:a4f623ac0721bf3eef723209a79904238"><td class="mdescLeft">&#160;</td><td class="mdescRight">几乎相等  <a href="../../dd/d9f/struct_vector_ops.html#a4f623ac0721bf3eef723209a79904238">更多...</a><br /></td></tr>
<tr class="separator:a4f623ac0721bf3eef723209a79904238"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename T&gt;<br />
struct VectorOps&lt; T &gt;</div><p >关于数组的系列操作 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a4298d4bc74636e1428e907d1ab187365" name="a4298d4bc74636e1428e907d1ab187365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4298d4bc74636e1428e907d1ab187365">&#9670;&nbsp;</a></span>AlmostEqual() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool ATGEOSET_EXPORT <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::AlmostEqual </td>
          <td>(</td>
          <td class="paramtype">T const &amp;&#160;</td>
          <td class="paramname"><em>valueA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T const &amp;&#160;</td>
          <td class="paramname"><em>valueB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>几乎相等 </p>
<p >以默认的容差判断两个数组是否几乎相等</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">T</td><td>const &amp; valueA </td></tr>
    <tr><td class="paramname">T</td><td>const &amp; valueB </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool ATGEOSET_EXPORT</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="a999d2ec42ccc414526eee2ce6c6f40ce" name="a999d2ec42ccc414526eee2ce6c6f40ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999d2ec42ccc414526eee2ce6c6f40ce">&#9670;&nbsp;</a></span>AlmostEqual() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool ATGEOSET_EXPORT <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::AlmostEqual </td>
          <td>(</td>
          <td class="paramtype">T const &amp;&#160;</td>
          <td class="paramname"><em>valueA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T const &amp;&#160;</td>
          <td class="paramname"><em>valueB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tolerance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>几乎相等 </p>
<p >以给定的容差判断两个数组是否几乎相等</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">T</td><td>const &amp; valueA </td></tr>
    <tr><td class="paramname">T</td><td>const &amp; valueB </td></tr>
    <tr><td class="paramname">double</td><td>tolerance </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool ATGEOSET_EXPORT</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="a4f623ac0721bf3eef723209a79904238" name="a4f623ac0721bf3eef723209a79904238"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f623ac0721bf3eef723209a79904238">&#9670;&nbsp;</a></span>AlmostEqual() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool ATGEOSET_EXPORT <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::AlmostEqual </td>
          <td>(</td>
          <td class="paramtype">T const *&#160;</td>
          <td class="paramname"><em>valueA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>numA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T const *&#160;</td>
          <td class="paramname"><em>valueB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>numB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tolerance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>几乎相等 </p>
<p >以给定的容差判断两个数组是否几乎相等</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">T</td><td>const * valueA </td></tr>
    <tr><td class="paramname">size_t</td><td>numA </td></tr>
    <tr><td class="paramname">T</td><td>const * valueB </td></tr>
    <tr><td class="paramname">size_t</td><td>numB </td></tr>
    <tr><td class="paramname">double</td><td>tolerance </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool ATGEOSET_EXPORT</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="acfecd420721fcdb92b10f023ea7aea3a" name="acfecd420721fcdb92b10f023ea7aea3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfecd420721fcdb92b10f023ea7aea3a">&#9670;&nbsp;</a></span>Append() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT size_t <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::Append </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T const &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加元素 </p>
<p >向数组添加单个元素，返回元素添加后的索引</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;T&gt;</td><td>* dest </td></tr>
    <tr><td class="paramname">T</td><td>const &amp; data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT size_t</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="a121d5b86a3dc02f0a391c0f451a26417" name="a121d5b86a3dc02f0a391c0f451a26417"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a121d5b86a3dc02f0a391c0f451a26417">&#9670;&nbsp;</a></span>Append() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT size_t <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::Append </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T const *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加元素 </p>
<p >向数组添加连续的元素，返回添加的第一个元素的索引</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;T&gt;</td><td>* dest </td></tr>
    <tr><td class="paramname">T</td><td>const * source </td></tr>
    <tr><td class="paramname">size_t</td><td>count </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT size_t</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="a618b6184f136dad2843693e728deaf3e" name="a618b6184f136dad2843693e728deaf3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a618b6184f136dad2843693e728deaf3e">&#9670;&nbsp;</a></span>Append() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATGEOSET_EXPORT size_t <a class="el" href="../../dd/d9f/struct_vector_ops.html">VectorOps</a>&lt; T &gt;::Append </td>
          <td>(</td>
          <td class="paramtype">xvector&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xvector&lt; T &gt; const *&#160;</td>
          <td class="paramname"><em>source</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加元素 </p>
<p >向数组添加连续的元素，返回添加的第一个元素的索引</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xvector&lt;T&gt;</td><td>* dest </td></tr>
    <tr><td class="paramname">xvector&lt;T&gt;</td><td>const * source </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATGEOSET_EXPORT size_t</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATGeometrySet/<a class="el" href="../../d1/dd6/_a_t_opts_8h_source.html">ATOpts.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
